package com.qidianit.mes.pro.service;


import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.pro.WorkflowProcess;

import java.util.ArrayList;

public interface WorkflowProcessService {
    Result<PageInfo<WorkflowProcess>> selectByWorkflowId(Long workflowId,int pageNUm,int pageSize);

    Result insertWorkflowProcess(WorkflowProcess workflowProcess);


    Result<WorkflowProcess> selectById(Long id);

    Result updateById(WorkflowProcess workflowProcess);

    Result deleteById(Long id);
    Result batchDelete(Long[] ids);


    Result<ArrayList<WorkflowProcess>> selectWorkflowProcessByWorkflowId(Long id);

}
